package com.hzjy.api.beans;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzjy.common.annotation.Excel;
import com.hzjy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 挂牌公告对象 hzjy_trading_notice
 * 
 * @author hzjy
 * @date 2020-09-05
 */
public class HzjyTradingNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 挂牌公告ID */
    private Long tradingNoticeId;

    //公告标题
    @Excel(name = "挂牌资讯标题")
    private String title;

    //挂牌资讯类容
    @Excel(name = "挂牌资讯内容")
    private String contract;

    /** 公告开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "公告开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date noticeStartTime;

    /** 公告结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "公告结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date noticeEndTime;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long noticeOrder;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 挂牌类型【0:作品挂牌，1：项目挂牌】 */
    @Excel(name = "挂牌类型【0:作品挂牌，1：项目挂牌】")
    private Long tradingType;

    @Excel(name = "摘要")
    private String introduce;

    public void setTradingNoticeId(Long tradingNoticeId) 
    {
        this.tradingNoticeId = tradingNoticeId;
    }

    public Long getTradingNoticeId() 
    {
        return tradingNoticeId;
    }
    public void setNoticeStartTime(Date noticeStartTime) 
    {
        this.noticeStartTime = noticeStartTime;
    }

    public Date getNoticeStartTime() 
    {
        return noticeStartTime;
    }
    public void setNoticeEndTime(Date noticeEndTime) 
    {
        this.noticeEndTime = noticeEndTime;
    }

    public Date getNoticeEndTime() 
    {
        return noticeEndTime;
    }
    public void setNoticeOrder(Long noticeOrder) 
    {
        this.noticeOrder = noticeOrder;
    }

    public Long getNoticeOrder() 
    {
        return noticeOrder;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setTradingType(Long tradingType) 
    {
        this.tradingType = tradingType;
    }

    public Long getTradingType() 
    {
        return tradingType;
    }

    public String getContract() {
        return contract;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("tradingNoticeId", getTradingNoticeId())
            .append("noticeStartTime", getNoticeStartTime())
            .append("noticeEndTime", getNoticeEndTime())
            .append("noticeOrder", getNoticeOrder())
            .append("productId", getProductId())
            .append("tradingType", getTradingType())
            .append("introduce",getIntroduce())
            .toString();
    }
}
